<?php

class Damages_Methods_Response_GetExpirationsDicts extends Damages_Methods_Response {

  /**
   *
   * @var Damages_Methods_Data_Dictionary_Expiration[] 
   */
  public $records = array();


  public function setData() {
    $dictData = DamagesDictExpirationsQuery::create()->find();
    foreach ($dictData as $el) {
      $this->records[] = new Damages_Methods_Data_Dictionary_Expiration($el);
    }
  }

}